import com.yanjingzheng.entity.Computer;
import com.yanjingzheng.entity.ComputerPart;
import com.yanjingzheng.entity.ComputerPartDisplayVistor;

/**
 * @Author Yenchingcheng
 * @Date 2023/11/2 17:35
 * @Description 测试类
 **/
public class Test {

    public static void main(String[] args) {
        ComputerPart part = new Computer();
        part.accept(new ComputerPartDisplayVistor());
    }
}
